package aom.ju.ss.utils.provinceCityDistrict

/**
 * 自定义数据源需要的数据model,自定义的话需要继承该数据model
 */
class CustomCityData {
    var list: List<CustomCityData> = arrayListOf()

    var id: String = ""
    var name: String = ""
    var pid: String = ""

    constructor()
    constructor(id: String, name: String, pid: String) {
        this.pid = pid
        this.name = name
        this.id = id
    }

    override fun toString(): String {
        if (name!=null){
            return  name
        }
        return ""
    }

}